package com.tang.generate.model

import com.tang.generate.domain.GenField
import io.swagger.v3.oas.annotations.media.Schema
import lombok.Data
import java.io.Serializable

@Data
@Schema
class GenVO(
        var id: Long? = null,
        var tableName: String? = null,
        var comment: String? = null,
        var fieldList: MutableList<GenField>? = arrayListOf(),
        var groupFieldList: MutableList<MutableList<GenField>>? = arrayListOf(),
        var className: String? = null,
        var clazzName: String? = null,
        var importList: HashSet<String>? = hashSetOf(),
        var packageName: String? = null,
        var module: String? = null,
        var dateTime: String? = null,
        var api: String? = null,
        var dir: String? = null,
        var frontPath: String? = null,
        var funName: String? = null,
        var modal: String? = null,
        var group: Boolean? = false,
        var authorize: String? = ""
) : Serializable
